import sys,os,time
import asyncio

class VehicleApp():
    def __init__(self):
        pass

    async def on_start(self):
        pass
    async def run(self):
        await self.on_start()
        while 1:
            #print("Running in VehicleApp...")
            await asyncio.sleep(2.0)

    async def publish_mqtt_event(self, topic, payload):
        print("Send a MQTT message with TOPIC:", topic, " DATA:", payload)
        pass
